package com.tian.demo01.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tian.demo01.entity.Emp;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
* @author Tian
* @description 针对表【emp】的数据库操作Mapper
* @createDate 2024-07-14 11:37:55
* @Entity com.tian.demo01.entity.Emp
*/
public interface EmpMapper extends BaseMapper<Emp> {

    int deleteByPrimaryKey(Long id);

    int insert(Emp record);

    int insertSelective(Emp record);

    Emp selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Emp record);

    int updateByPrimaryKey(Emp record);

    List<Emp> selectEmp(IPage<Emp> page, @Param("ew") Wrapper<Emp> updateWrapper);

}
